package com.kaibes.admin.encryption;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;
import com.kaibes.web.admin.AdminMenuRes;

@Configuration
public class EncryptionMenuInit {

    private final static String KEY = "encryption";
    
    @Bean
    public AdminMenu encryptionMenu() {
        AdminMenu menu = new AdminMenu();
        menu.setKey(KEY);
        menu.setName("加密设置");
        menu.setIcon("fas fa-key");
        menu.setHref("/admin/encryption/setting");
        menu.setSort(2);
        menu.setParentKey(AdminMenuRes.MENU_SETTING);
        return menu;
    }
    
}
